import { request } from '@/utils/axiosInstance.js'

export const getList = (data) => {
    return request({
        url: '/identityCard/page',
        method: 'POST',
        data
    })
}
export const delItem = (data) => {
    return request({
        url: '/identityCard/deleteById',
        method: 'POST',
        data
    })
}
export const addItem = (data) => {
    return request({
        url: '/identityCard/add',
        method: 'POST',
        data
    })
}
export const updateItem = (data) => {
    return request({
        url: '/identityCard/update',
        method: 'POST',
        data
    })
}
